package com.kirk.cts.core.base.service.beans;

import com.kirk.cts.core.event.CrawlerToolEvent;
import com.kirk.cts.core.event.CrawlerToolEventType;


/**
 * <p> CrawlerBaseBean.java </p>
 *
 * @version 1.0.0
 * @Author kirkliu
 * @Date 2020-08-31 22:53
 * @Description 爬虫值对象基类
 */
public class CrawlerBaseBean {
    /**
     * 事件对象
     */
    private CrawlerToolEvent crawlerToolEvent;


    public CrawlerToolEvent getCrawlerToolEvent() {
        if (null == crawlerToolEvent) {
            crawlerToolEvent = new CrawlerToolEvent(this, CrawlerToolEventType.NoTableChangeEvent);
        }
        return crawlerToolEvent;
    }

    public void setCrawlerToolEvent(CrawlerToolEvent crawlerToolEvent) {
        this.crawlerToolEvent = crawlerToolEvent;
    }


}
